package com.huluobo.a2109mouthdemo;

import android.app.Application;

import com.hyphenate.chat.EMClient;
import com.hyphenate.chat.EMOptions;
import com.hyphenate.easeui.EaseIM;

/**
 * Created by LC on 2023/12/1.
 */
public class IMApp extends Application {

    public static final String REGEX_USERNAME = "^[a-zA-Z]\\w{2,19}$";
    public static final String REGEX_PASSWORD = "^[0-9]{3,20}$";
    @Override
    public void onCreate() {
        super.onCreate();
        EMOptions options = new EMOptions();
        options.setAppKey("moroks#2109mvpimdemo");
//        EMClient.getInstance().init(this, options);

        if (EaseIM.getInstance().init(this,options)){
            EMClient.getInstance().setDebugMode(true);
        }
    }
}
